/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package dao;

import classes.Usuario;
import erro.ConexaoException;
import erro.ConsultaException;
import erro.DaoException;
import java.util.List;

/**
 * Interface do DaoUsuario
 * @author George
 */
public interface IDaoUsuario {

    public void inserir(Usuario usu) throws ConexaoException, DaoException;
    public void alterar(Usuario usu) throws ConexaoException, DaoException;
    public void deletar(Usuario usu) throws ConexaoException, DaoException;
    public Usuario pesquisar(Usuario usu) throws ConexaoException, DaoException;
    public Usuario pesquisarLogin(Usuario usu) throws ConexaoException, DaoException;
    public List pesquisarUsu(Usuario usu) throws ConexaoException, ConsultaException;
    public List listar() throws ConexaoException, ConsultaException;
}
